home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.cs.arizona.edu
/
ftp.cs.arizona.edu.tar
/
ftp.cs.arizona.edu
/
icon
/
newsgrp
/
group00a.txt
/
000146_icon-group-sender _Mon Jun 12 08:48:29 2000.msg
< prev
next >
Wrap
Internet Message Format
|
2001-01-03
|
2KB
Return-Path: <icon-group-sender>
Received: (from root@localhost)
by baskerville.CS.Arizona.EDU (8.9.1a/8.9.1) id IAA19816
for icon-group-addresses; Mon, 12 Jun 2000 08:47:55 -0700 (MST)
Message-Id: <200006121547.IAA19816@baskerville.CS.Arizona.EDU>
From: espie@liafa.jussieu.fr (Marc Espie)
X-Newsgroups: comp.lang.icon
Subject: Re: User defined operators for Icon
Date: 6 Jun 2000 17:04:00 GMT
X-Trace: vishnu.jussieu.fr 960311040 3784 132.227.81.128 (6 Jun 2000 17:04:00 GMT)
X-Complaints-To: Newsmaster@jussieu.fr.
X-Newsreader: trn 4.0-test70 (17 January 1999)
To: icon-group@optima.CS.Arizona.EDU
Errors-To: icon-group-errors@optima.CS.Arizona.EDU
Status: RO
In article <e38%4.29$tx4.556@client>,
Frank J. Lhota <NOSPAM.Frank.Lhota@lexma.meitech.com> wrote:
>1. You cannot (re)define the primitive operators, such as "*", "++", or
>"<", for a record type;
>2. You cannot define implicit /explicit type conversions between a record
>type and the existing types; and
>3. You cannot define the behavior of functions such as image and write
>for the new record type.
>Languages such as C++ and Ada permit the programmer to define the behavior
>of operators and predefined functions for user defined types. Would it be
>desirable to add such a capacity to Icon? If so, what would this facility
>look like?
idol, or an extension of idol, most certainly.
--
Marc Espie
|anime, sf, juggling, unicycle, acrobatics, comics...
|AmigaOS, OpenBSD, C++, perl, Icon, PostScript...
| `real programmers don't die, they just get out of beta'